package com.one.group.admin.mapper;

import com.mybatisflex.core.BaseMapper;
import com.one.group.model.entity.SpPredeposit;
import com.one.group.model.vo.SpPredepositVo;

import java.math.BigDecimal;
import java.util.List;

public interface SpPredepositMapper extends BaseMapper<SpPredeposit> {
    SpPredepositVo queryByPayer(Long payerId, Integer payerType, Long tenantId);

    SpPredepositVo queryByPayer2(Long payerId, Integer payerType, Long tenantId);

    List<SpPredepositVo> payerlist(String name, Long tenantId);

    BigDecimal totalamount(Long tenantId);
}
